<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>骰子</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            display: flex;
            flex-wrap: wrap;
        }
        body > div{
            width: 300px;
            height: 300px;
            background-color: aqua;
            display: flex;
            margin: 100px;
            flex-wrap: wrap;
        }
        div > div{
            width: 80px;
            height: 80px;
            border-radius: 40px;
            background-color: red;
        }
        .box1{
            justify-content: center;
            align-items: center;
        }
        .box2{
            flex-direction:column;
            justify-content: space-around;
            align-items: center;
        }
        .box3{
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        .box3 div:nth-child(1){
            position:absolute;
            right :0;
            order: 1;
            top: 0;
        }
        .box3 div:nth-child(2){
            position: absolute;
            order: 2;
        }
        .box3 div:nth-child(3){
            position: absolute;
            left: 0px;
            bottom: 0;
            order: 3;
        }
        .box4{
            flex-direction:column;
            justify-content: space-around;
            align-items: center;
        }
        .box4 div{
            margin: 11px;
        }
        .box5{
            justify-content: space-around;
            align-items: center;
        }
        .box5 div{
            margin: 11px;
        }
        .box5 div:nth-child(3){
            margin: 0 60px;
        }
        .box6{
            justify-content: space-around;
            align-items: center;
            flex-direction: column;
        }
    </style>
</head>
<body>
    <div class="box1">
        <div></div>
    </div>
    <div class="box2">
        <div></div>
        <div></div>
    </div>
    <div class="box3">
        <div></div>
        <div></div>
        <div></div>
    </div>
    <div class="box4">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
    <div class="box5">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
    <div class="box6">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div
    ></div>
</body>
</html>